package com.yjz.springcloudprovider01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
/*启用服务注册与发现*/
@EnableDiscoveryClient
public class SpringcloudProvider01Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringcloudProvider01Application.class, args);
    }

}

